package com.zis.wechat.service;

import com.zis.starter.core.ResponseEntity;
import com.zis.starter.core.SearchParams;
import com.zis.wechat.model.TUser;
import org.beetl.sql.core.engine.PageQuery;

import java.util.List;
import java.util.Map;

public interface ITUserInter {

    ResponseEntity insert(TUser user) throws Exception;

    ResponseEntity update(TUser user) throws Exception;

    ResponseEntity delete(String tuId) throws Exception;

    ResponseEntity selectById(String tuId) throws Exception;

    PageQuery<TUser> findByPage(SearchParams params) throws Exception;

    List<TUser> findByCondition(Map params) throws Exception;
}
